<template>
    <div style="text-align:center">
        <el-pagination
            @size-change="handleSizeChange"
            @current-change="handleCurrentChange"
            :current-page="currentPage4"
            :page-sizes="[10, 20, 30, 40]"
            :page-size="10"
            layout="total, sizes, prev, pager, next, jumper"
            :total="200">
        </el-pagination>
    </div>
</template>

<script>
  export default {
    name:"pagination",
    methods: {
      handleSizeChange(val) {
        // console.log(`每页 ${val} 条`);
      },
      handleCurrentChange(val) {
        // console.log(`当前页: ${val}`);
      }
    },
    data() {
      return {
        currentPage4:4,
      };
    },
    mounted(){
    }
  }
</script>

<style>
</style>